package com.kedacom.ctsp.authority.entity;


import com.kedacom.ctsp.web.entity.CreateDeptNameRecordableBeanWithCode;
import com.kedacom.ctsp.web.entity.CrudEntity;
import com.kedacom.ctsp.web.entity.StatefulBean;

/**
 * 关系信息 实体
 *
 * @author sunchenjie
 */
public interface ChargeRelation extends CrudEntity<String> , CreateDeptNameRecordableBeanWithCode, StatefulBean<Integer> {
 /*-------------------------------------------
    |               属性名常量               |
    ===========================================*/
    /**
     * 关系类型
     */
    String CHARGE_TYPE = "chargeType";
    /**
     * 关系类型从,如:人员
     */
    String TYPE_FROM = "typeFrom";
    /**
     * 关系从
     */
    String ID_FROM = "idFrom";
    /**
     * 关系至
     */
    String TYPE_TO = "typeTo";

    /**
     * 关系类型至,如:部门
     */
    String ID_TO = "idTo";
    /**
     * 状态
     */
    String STATUS = "status";
    String PATH = "path";


    String getChargeType();

    void setChargeType(String chargeType);

    SettingForType getTypeFrom();

    void setTypeFrom(SettingForType typeFrom);

    String getIdFrom();

    void setIdFrom(String idFrom);

    SettingForType getTypeTo();

    void setTypeTo(SettingForType typeTo);

    String getIdTo();

    void setIdTo(String idTo);

    String getPath();

    void setPath(String path);

}